package com.lcj.ems.util;

public class CheckHobbyUtil {
    public static String checkHobby(String hobbies,String hobby)
    {
        if(!CommonUtils.isNull(hobbies))
        {
           for(String hob : hobbies.split(","))
           {
               if (hob.equals(hobby))
                   return "checked";
           }
        }
        return "";
    }
}
